from django.db import models


class Dish(models.Model):
    name = models.CharField(max_length = 50)
    price = models.DecimalField(max_digits=5,decimal_place=3)
    def __unicode__(self):
        return self.name +':'+ self.price
    
class Order(models.Model):
    dish = models.ForeignKey(Dish)
    

    